how to use math in arduino